<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('费用支出详细')" />
</head>
<body>
    <div class="main-content">
        <form class="form-horizontal" th:object="${fCarCost}">
            <div class="row">
            	<div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">费用类型：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{@dict.getLabel('f_zhichu_type', costType)}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">费用(元)：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{cost}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">支出时间：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{#dates.format(costTime, 'yyyy-MM-dd')}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div th:if="*{costType eq '0'}" class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">加油量(升)：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{petrol}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">行驶里程(公里)：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{kilometers}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div th:if="*{costType eq '6'}" class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">强险生效时间：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{#dates.format(qiangInsureSatrtTime, 'yyyy-MM-dd')}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">强险结束时间：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{#dates.format(qiangInsureEndTime, 'yyyy-MM-dd')}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div th:if="*{costType eq '6'}" class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">保险公司名称：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{qiangInsureCompany}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">保费金额(元)：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{qiangCost}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div th:if="*{costType eq '6'}" class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">商业险生效时间：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{#dates.format(shangInsureSatrtTime, 'yyyy-MM-dd')}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">商业险结束时间：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{#dates.format(shangInsureEndTime, 'yyyy-MM-dd')}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div th:if="*{costType eq '6'}" class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">保险公司名称：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{shangInsureCompany}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">保费金额(元)：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{shangCost}"></p>
                        </div>
                    </div>
                </div>
            </div>

            <div th:if="*{costType eq '7'}" class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">时间（交强险）：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{#dates.format(chuQiang, 'yyyy-MM-dd')}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">金额（交强险）：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{chuQiangCost}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div th:if="*{costType eq '7'}" class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">时间（商业险）：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{#dates.format(chuShang, 'yyyy-MM-dd')}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">金额（商业险）：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{chuShangCost}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">创建人：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{createBy}"></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">创建时间：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{#dates.format(createTime, 'yyyy-MM-dd HH:mm:ss')}"></p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">备注：</label>
                        <div class="col-sm-8">
                            <p class="form-control-plaintext" th:text="*{remark}"></p>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
	<th:block th:include="include :: footer" />
</body>
</html>